<?php
/**
 * Created by PhpStorm.
 * User: kevin
 * Date: 17-3-28
 * Time: 下午5:18
 */

return [
    'info'   => [
        'name'    => 'CardVice',
        'comment' => '副卡信息'
    ],
    'type'   => 'mongo',
    'fields' => [
        'id'                  => '主键ID',
        'tag_name'            => '标签名称',
        'sys_id'              => '系统ID',
        'third_id'            => '业务系统pk',
        'vice_no'             => '副卡号',
        'password'            => '卡密码',
        'oil_com'             => '油卡类型（1:中石化，2:中石油,3:中交石油，4:上海盛海，6：充值卡，7：记账卡，8：加油员卡，50：中交石化）',
        'card_from'           => '卡来源（10汇通卡,20中交卡,30撬装卡,40托管卡,50盛海卡）',
        'card_main_id'        => '主卡id',
        'fanli_region_code'   => '积分可用地区编码',
        'fanli_region_name'   => '积分可用地区',
        'vice_tmp_id'         => '开卡申请子表id',
        'truck_no'            => '车牌号',
        'driver_tel'          => '司机电话',
        'driver_name'         => '登记司机姓名',
        'driver_line'         => '登记线路',
        'card_owner'          => '持卡人',
        'org_id'              => '所属机构编码',
        'org_id_fanli'        => '返利机构',
        'gas_money_id'        => '撬装账户机构ID',
        'reserve_remain'      => '备付金余额',
        'comp_remain'         => '备付金补偿值',
        'card_remain'         => '卡余额',
        'oil_balance'         => '油量余额（升）',
        'total_charge'        => '累计充值（分配）',
        'total_trade'         => '累计消费',
        'point_reserve_total' => '积分备付金',
        'point_remain'        => '积分余额',
        'active_time'         => '开卡日期（默认当前时间）',
        'bind_status'         => '车卡绑定状态（-1解绑，0未绑，1已绑）',
        'day_top'             => '当天加油上限',
        'oil_top'             => '单次加油上限',
        'unit'                => '油卡余额单位 1 元，  2 升',
        'assign_time'         => '最新充值时间',
        'status'              => '卡状态|使用|锁定|其他',
        'remark'              => '外部备注',
        'remark_work'         => '客户备注',
        'creator_name'        => '创建人名称',
        'last_operator'       => '最后修改者姓名',
        'trade_time'          => '最新消费时间',
        'createtime'          => '业务系统创建时间',
        'updatetime'          => '业务系统更新时间',
        'deletetime'          => '业务系统删除时间',
        'created_at'          => '创建时间',
        'updated_at'          => '更新时间',
        'deleted_at'          => '删除时间'
    ],
    'casts'  => [
        'id'                  => 'string',
        'tag_name'            => 'string',
        'third_id'            => 'string',
        'sys_id'              => 'string',
        'vice_no'             => 'string',
        'today_balance'       => 'double',
        'card_url'            => 'string',
        'register_status'     => 'integer',
        'card_classify'       => 'integer',
        'vice_password'       => 'string',
        'using_pass'          => 'integer',
        'using_sign'          => 'integer',
        'paylimit'            => 'integer',
        'oil_com'             => 'string',
        'card_from'           => 'integer',
        'card_main_id'        => 'integer',
        'fanli_region'        => 'string',
        'fanli_region_name'   => 'string',
        'vice_tmp_id'         => 'string',
        'truck_no'            => 'string',
        'driver_tel'          => 'string',
        'driver_name'         => 'string',
        'driver_line'         => 'string',
        'card_owner'          => 'string',
        'org_id'              => 'string',
        'org_id_fanli'        => 'string',
        'gas_money_id'        => 'string',
        'reserve_remain'      => 'double',
        'reserve_remain_ge'   => 'double',
        'reserve_remain_le'   => 'double',
        'comp_remain'         => 'double',
        'card_remain'         => 'double',
        'card_remain_ge'      => 'double',
        'card_remain_le'      => 'double',
        'oil_balance'         => 'double',
        'total_charge'        => 'double',
        'total_trade'         => 'double',
        'point_reserve_total' => 'double',
        'point_remain'        => 'double',
        'active_time'         => 'string',
        'bind_status'         => 'integer',
        'day_top'             => 'double',
        'oil_top'             => 'double',
        'unit'                => 'string',
        'status'              => 'integer',
        'remark'              => 'string',
        'remark_work'         => 'string',
        'creator_name'        => 'string',
        'updater_name'        => 'string',
        'assign_time'         => 'string',
        'trade_time'          => 'string',
        'createtime'          => 'string',
        'updatetime'          => 'string',
        'created_at'          => 'string',
        'updated_at'          => 'string',
    ]
];